<template>
  <van-divider
    content-position="left"
    :style="{ color: '#1989fa', borderColor: '#1989fa' }"
  >
    账单信息
  </van-divider>
  <van-form>
    <van-cell-group inset>
      <van-field label="结算状态">
        <template #input>
          <div>{{ data.state }}</div>
        </template>
      </van-field>
      <van-field label="结算类型">
        <template #input>
          <div>{{ data.bill_type }}</div>
        </template>
      </van-field>
      <van-field label="系统里程费用">
        <template #input>
          <div>{{ data.expenses }}</div>
        </template>
      </van-field>
      <van-field label="表显里程费用">
        <template #input>
          <div>{{ data.sheet_expenses }}</div>
        </template>
      </van-field>
      <van-field label="起步价">
        <template #input>
          <div>{{ data.starting_expenses }}</div>
        </template>
      </van-field>
      <van-field label="停延费用">
        <template #input>
          <div>{{ data.suspended_expenses }}</div>
        </template>
      </van-field>
      <van-field label="固定费用">
        <template #input>
          <div>{{ data.day_expenses }}</div>
        </template>
      </van-field>
      <van-field label="结算金额">
        <template #input>
          <div>{{ data.sum_expenses }}</div>
        </template>
      </van-field>
    </van-cell-group>
  </van-form>
</template>

<script lang="ts" setup>
  import { ref, withDefaults, defineEmits, defineProps } from 'vue';

  interface Props {
    data: any;
  }
  const props = withDefaults(defineProps<Props>(), {});
  const emit = defineEmits(['']);
</script>

<style lang="less" scoped></style>
